package com.tjp.eight.ui.fragment.forgetpass;

import com.tjp.eight.ResultModel;
import com.tjp.eight.ui.fragment.setpassword.SetPassModel;

import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.Headers;
import retrofit2.http.POST;
import rx.Observable;

/**
 * Created by Administrator on 2017/4/27.
 */
public interface FortGetPassService {
    @Headers({"Content-Type:application/json", "Accept-Type:application/json"})
    @POST("getbackpwd/sendsms")
    Observable<ResultModel> getMsgCode(@Body RequestBody body);

    @Headers({"Content-Type:application/json", "Accept-Type:application/json"})
    @POST("getbackpwd/setpwd")
    Observable<SetPassModel> setPass(@Body RequestBody body);
}
